package com.atwork.service;

import com.atwork.model.normal.SysUser;

import java.util.List;
/**
 * @CreateBy: zhaojun
 * @CreateTime: 2018-08-04
 * @Desc: 系统用户模块
 */
public interface SysUserService {

    /**
     * 分页获取全部User
     */
    List<SysUser> getAllUser(int pageNum,int pageSize);

    /**
     * 通过登陆名获取user对象
     */
    SysUser getUserByLoginName(String loginName);


}
